/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.quickorm.support;

import javax.sql.DataSource;

/**
 *
 * @author aaa
 */
public abstract class JdbcAccessor {

    private DataSource dataSource;

    /**
     * Set the JDBC DataSource to obtain connections from.
     */
    public void setDataSource(DataSource dataSource) {
        this.dataSource = dataSource;
    }

    /**
     * Return the DataSource used by this template.
     */
    public DataSource getDataSource() {
        return this.dataSource;
    }
}
